//
//  PersonCustomerCollectionViewCell.swift
//  XMYouPin
//
//  Created by 王宗成 on 2019/8/2.
//  Copyright © 2019 王宗成. All rights reserved.
//

import UIKit

class PersonCustomerCollectionViewCell: UICollectionViewCell {
    
    lazy var itemView:PersonItemView = {
        
        let view:PersonItemView = PersonItemView()
        self.contentView.addSubview(view)
        return view
        
    }()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        self.contentView.backgroundColor = UIColor.white
        
        self.itemView.snp.makeConstraints { (make) in
            
            make.left.right.equalToSuperview()
            make.top.equalTo(20)
            
        }
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
